import layout from "@/views/layout";

export default [
	/* 拖拽页 */
	{
		path: "/components",
		component: layout,
		redirect: { name: "draggle_message" },
		meta: { title: "功能组件" },
		children: [
			/* tree树组件 */
			{
				path: "/components/tree_message",
				name: "tree_message",
				meta: { title: "树组件" },
				component: () => import(/* webpackChunkName: 'tree_message' */ "@/views/component_pages/tree"),
			},
			{
				path: "/components/table_message",
				name: "table_message",
				meta: { title: "表格", keepAlive: true },
				component: () => import(/* webpackChunkName: 'table_message' */ "@/views/component_pages/table"),
			},
		],
	},
];
